using QFramework.Example.Scripts.Command;
using UnityEngine;

namespace QFramework.Example.Scripts.Game
{
    public class ErrorArea : MonoBehaviour, IController
    {
        private void OnMouseDown()
        {
            this.SendCommand<MissCommand>();
        }

        IArchitecture IBelongToArchitecture.GetArchitecture()
        {
            return PointGame.Interface;
        }
    }
}